package net.keebook.webapp.ws;

import javax.ejb.Stateless;
import javax.ws.rs.GET;
import javax.ws.rs.Path;
import javax.ws.rs.Produces;
import javax.ws.rs.core.MediaType;

import org.apache.log4j.Logger;

@Path("/ping")
@Stateless
public class PingService extends WebService {
	@GET
	@Produces(MediaType.TEXT_PLAIN)
	public String saveSettings() {
		Logger.getLogger(this.getClass()).info("Responding to ping request");
		return "pong";
	}
}
